package com.chenyun.montior.config;

import com.chenyun.common.factory.YAMLPropertySourceFactory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

import java.io.Serializable;

/**
 * MonitorConfig：
 * Description:
 *
 * @author: Lonni
 * @date: 2024/1/25 0025 10:20
 */
@Configuration
@PropertySource(value = "classpath:config/application-monitor.yml", factory = YAMLPropertySourceFactory.class)
@Slf4j
public class MonitorConfig implements Serializable {


    public MonitorConfig() {
        log.info("加载默认监控(admin)配置,可在application.yml中重新覆盖此配置");
    }
}



